package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图书类别对象 tb_book_category
 * 
 * @author ruoyi
 * @date 2022-06-16
 */
public class TbBookCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long categoryId;

    /** 图书类别 */
    @Excel(name = "图书类别")
    private String bookCategory;

    /** 排序 */
    @Excel(name = "排序")
    private String sort;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String isDel;

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setBookCategory(String bookCategory) 
    {
        this.bookCategory = bookCategory;
    }

    public String getBookCategory() 
    {
        return bookCategory;
    }
    public void setSort(String sort) 
    {
        this.sort = sort;
    }

    public String getSort() 
    {
        return sort;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryId", getCategoryId())
            .append("bookCategory", getBookCategory())
            .append("sort", getSort())
            .append("isDel", getIsDel())
            .toString();
    }
}
